<?php 
$username = $_GET['username'];
$password = $_GET['password'];

$json_string=file_get_contents('shuju.json');
$deta=json_decode($json_string,true);
if($username == $deta['user'] && $password == $deta['password']){
    echo 2;
}else{
    echo 1;
}
?>